NDepend.API Documentation
TryResolve(IEnumerable<KeyValuePair<String,String>>,IAbsoluteDirectoryPath,String) Method
NDepend.Path Namespace > IVariableDirectoryPath Interface > TryResolve Method : TryResolve(IEnumerable<KeyValuePair<String,String>>,IAbsoluteDirectoryPath,String) Method
It is the sequence of pairs [variable name/variable value] used to resolve the path.
It is the absolute directory path resolved obtained if this method returns true.
If false is returned, failureReason contains the plain english description of the failure.
Returns true if AllVariables of this path can be resolved from variablesValues and the path can be resolved into a drive letter or a UNC absolute directory path.
Syntax

Parameters

variablesValues
It is the sequence of pairs [variable name/variable value] used to resolve the path.
pathDirectoryResolved
It is the absolute directory path resolved obtained if this method returns true.
failureReason
If false is returned, failureReason contains the plain english description of the failure.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IVariableDirectoryPath Interface
IVariableDirectoryPath Members
Overload List